<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of user_model
 *
 * @author hassanali
 */
class pages_model extends cms_model {

    public function __construct() {
        parent::__construct();
        $this->table = 'pages';
        $this->select = array('pages.*', 'pages_language.title', 'pages_language.lang', 'pages_language.content');
        $this->join = array('pages_language' => 'pages_language.p_id = pages.id');
        $this->where = array('lang' => LANG);
    }

}

?>
